Fix resizing for X and non-Gtk+ build. Bug #5848.
authorJan D <jan.h.d@swipnet.se>
Wed, 7 Apr 2010 11:45:08 +0000 (13:45 +0200)
committerJan D <jan.h.d@swipnet.se>
Wed, 7 Apr 2010 11:45:08 +0000 (13:45 +0200)
commit2517dbab5738389fa7c6180afbec46b9cea72906
tree2653bd6024c5babb36227e87ea2d250dc65f7b80
parent9b48203957e7cf4665cbe482955a1d9ffac75a48
parent01fc3bb4c3d46be641e1042f2ad50ec2e663b5d4
Fix resizing for X and non-Gtk+ build.  Bug #5848.

* frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
FRAME_LINE_TO_PIXEL_Y.

* xterm.c (x_set_window_size_1): Don't add border_width/height to
pixelwidth/height.